#!/bin/bash
#Program: 
#       Try do calculate 1+2+...+100
#History:
#2010/06/06     xuzhi       First release
PATH=/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH

s=0
for (( i=1; i<=100; i=i+1 ))
do
    s=$(($s+$i))
done
echo "The result of '1+2+3+...+100' is $s"

for animal in dog cat elephant
do
    echo "There are $animal""s..."

done
